package com.example.androidtraining_ahut2020;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;

public class MainActivityDay09LifeCycle extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_day09_life_cycle);
        Log.i("LifeCycle", ">>>>onCreate() Called<<<");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.i("LifeCycle", ">>>>onStart() Called<<<");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.i("LifeCycle", ">>>>onRestart() Called<<<");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.i("LifeCycle", ">>>>onResume() Called<<<");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.i("LifeCycle", ">>>>onPause() Called<<<");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.i("LifeCycle", ">>>>onStop() Called<<<");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.i("LifeCycle", ">>>>onDestroy() Called<<<");
    }
}